mui.init();
var userinfo = app.getState();
var uid = userinfo.user_id;
//document.getElementById('username').innerHTML = userinfo.name;
//document.getElementById('user_id').innerHTML = uid;
//userinfo.avatar = userinfo.avatar ? userinfo.avatar : '../../static/images/1.png';
//document.getElementById('userhead').src = userinfo.avatar;
var qrcode = new QRCode('qr', {
  text: 'cash@' + uid,
  width: 300,
  height: 300,
  colorDark : '#000000',
  colorLight : '#ffffff',
  correctLevel : QRCode.CorrectLevel.H
});